﻿local closure_creator
function closure_creator_creator()
   local num = 0
   closure_creator = function()
      return function()
         num = num + 1
         print(num)
      end
   end
end
closure_creator_creator()
closure_creator()()
closure_creator()()
local closure = closure_creator()
closure()
closure()
